package cn.ywsj.ywsjmidtier.service;

import cn.ywsj.ywsjmidtier.common.Connect;
import cn.ywsj.ywsjmidtier.entity.VO.LeavewordsVo;
import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

/**
 * @ClassName : WechatCenterFeign
 * @Author : Lenovo
 * @Date: 2021/7/23 14:36
 * @Description :
 */
@FeignClient(url = Connect.XSX_URL,name = "xsx")
public interface WechatCenterFeign {
    @PostMapping("/wechat/member/center/getpersonalinformation")
    String ajaxPersonalInformation();
     @RequestMapping("/wechat/member/center/ajaxindex")
    String ajaxIndex(@RequestParam("loginType") String loginType,@RequestParam("request") HttpServletRequest request);
    @RequestMapping("/wechat/member/center/ajaxaccountinfo")
    String ajaxAccountInfo();
     @RequestMapping("/wechat/member/center/addleavewords")
    String addLeavewords(@RequestParam("jsonObject") JSONObject jsonObject);
}
